package com.itheima.z1.aop;

import org.aspectj.lang.ProceedingJoinPoint;
import org.aspectj.lang.annotation.Around;
import org.aspectj.lang.annotation.Before;
import org.aspectj.lang.annotation.Pointcut;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.Map;

@org.aspectj.lang.annotation.Aspect
public class Aspect {

    @Around("execution(* *.*.*(..))")
    public   void  pt(ProceedingJoinPoint pjp){
        //1.判断被代理对象上是否有注解
        Object target = pjp.getTarget();

        //查询缓存
    }
}
